﻿using GYCTOAManagementSystemNewApi.Model.Tool;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace GYCTOAManagementSystemNewApi.Model
{
    public class Role:Operate
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        [Required]
        public string RoleName { get; set; }
        /// <summary>
        /// 资源编号
        /// </summary>
        //[Required]
        [StringLength(Int32.MaxValue)]
        public string RoleNumber { get; set; }
        /// <summary>
        /// 岗位职责
        /// </summary>
        public string RoleDuty { get; set; }
    }
}
